﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="DONGTAIWANGYE.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style8 {
            width: 35px;
        }
        .auto-style9 {
            width: 40px;
        }
        .auto-style10 {
            width: 41px;
        }
        .auto-style11 {
            width: 42px;
        }
        .auto-style12 {
            width: 45px;
        }
        .auto-style13 {
            width: 46px;
        }
        .auto-style14 {
            width: 47px;
        }
        .auto-style16 {
            width: 81px;
        }
        .auto-style17 {
            width: 84px;
        }
        .auto-style18 {
            width: 93px;
        }
        .auto-style19 {
            width: 101px;
        }
        .auto-style20 {
            width: 97px;
        }
        .auto-style21 {
            width: 79px;
        }
        .auto-style22 {
            width: 77px;
        }
        .auto-style23 {
            width: 21px;
        }
        .auto-style24 {
            width: 100px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <table class="auto-style1" style="width: 780px">
                <tr>
                    <td class="auto-style99"></td>
                    <td class="auto-style20"></td>
                    <td class="auto-style66"></td>
                    <td class="auto-style66">&nbsp;</td>
                    <td class="auto-style66"></td>
                    <td class="auto-style66"></td>
                    <td class="auto-style19">
                        &nbsp;</td>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style66"></td>
                    <td class="auto-style95">&nbsp;</td>
                    <td class="auto-style16">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style100">
                        <asp:Button ID="SelectNo" runat="server" Text="按学号查询" OnClick="SelectNo_Click" />
                    </td>
                    <td class="auto-style20">
                        <asp:Label ID="Label1" runat="server" Text="学号："></asp:Label>
                    </td>
                    <td class="auto-style67" colspan="5"><asp:TextBox ID="txtNo" runat="server" OnTextChanged="txtNo_TextChanged"></asp:TextBox>  
                    </td>
                    <td class="auto-style23">&nbsp;</td>
                    <td class="auto-style24">性别：</td>
                    <td class="auto-style17"><asp:TextBox ID="txtGender" runat="server" OnTextChanged="txtGender_TextChanged"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style101" rowspan="7">&nbsp;</td>
                    <td class="auto-style20" rowspan="7"></td>
                    <td class="auto-style68" rowspan="7" colspan="5">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                            <Columns>
                                <asp:BoundField DataField="No" HeaderText="No" SortExpression="No" />
                                <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                                <asp:BoundField DataField="Age" HeaderText="Age" SortExpression="Age" />
                                <asp:BoundField DataField="Gender" HeaderText="Gender" SortExpression="Gender" />
                                <asp:BoundField DataField="College" HeaderText="College" SortExpression="College" />
                                <asp:BoundField DataField="Memo" HeaderText="Memo" SortExpression="Memo" />
                            </Columns>
                        </asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112117ConnectionString %>" SelectCommand="SELECT * FROM [Student] WHERE ([No] = @No)">
                            <SelectParameters>
                                <asp:ControlParameter ControlID="txtNo" Name="No" PropertyName="Text" Type="String" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </td>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        年龄：</td>
                    <td class="auto-style18">
                        <asp:TextBox ID="txtAge" runat="server" OnTextChanged="txtAge_TextChanged"></asp:TextBox>  
                    </td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                    </td>
                    <td class="auto-style84">
                    </td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        系别：</td>
                    <td class="auto-style85">
                        <asp:TextBox ID="txtCollege" runat="server" OnTextChanged="txtCollege_TextChanged" ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style102">
                        &nbsp;</td>
                    <td class="auto-style20">
                        &nbsp;</td>
                    <td class="auto-style69" colspan="5">&nbsp;</td>
                    <td class="auto-style23">  
                        &nbsp;</td>
                    <td class="auto-style24">  
                        &nbsp;</td>
                    <td class="auto-style47">  
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style102">
                        &nbsp;</td>
                    <td class="auto-style20">
                        &nbsp;</td>
                    <td class="auto-style69" colspan="5">&nbsp;</td>
                    <td class="auto-style23">  
                        &nbsp;</td>
                    <td class="auto-style24">  
                        &nbsp;</td>
                    <td class="auto-style47">  
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style102">
                        &nbsp;</td>
                    <td class="auto-style20">
                        <asp:Label ID="Label2" runat="server" Text="姓名："></asp:Label>
                    </td>
                    <td class="auto-style69" colspan="5"><asp:TextBox ID="txtName" runat="server" OnTextChanged="txtName_TextChanged" style="height: 19px"></asp:TextBox>  
                    </td>
                    <td class="auto-style23">  
                        &nbsp;</td>
                    <td class="auto-style24">  
                        备注：</td>
                    <td class="auto-style47">  
                        <asp:TextBox ID="txtMemo" runat="server" OnTextChanged="txtMemo_TextChanged"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style101" rowspan="4">&nbsp;</td>
                    <td class="auto-style20" rowspan="4">&nbsp;</td>
                    <td class="auto-style68" rowspan="4" colspan="5">
                        <asp:Label ID="lblInfo" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style18" colspan="2">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        <asp:Button ID="BtnUpdate" runat="server" Text="更新" OnClick="Button1_Click" Height="30px" Width="82px"/>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style101">&nbsp;</td>
                    <td class="auto-style20">&nbsp;</td>
                    <td class="auto-style68" colspan="5">&nbsp;</td>
                    <td class="auto-style23">&nbsp;</td>
                    <td class="auto-style24">&nbsp;</td>
                    <td class="auto-style18">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style101">&nbsp;</td>
                    <td class="auto-style20">&nbsp;</td>
                    <td class="auto-style68" colspan="5">&nbsp;</td>
                    <td class="auto-style23">&nbsp;</td>
                    <td class="auto-style24">&nbsp;</td>
                    <td class="auto-style18">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style101">&nbsp;</td>
                    <td class="auto-style20">&nbsp;</td>
                    <td class="auto-style68" colspan="5">
                        &nbsp;</td>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style101">&nbsp;</td>
                    <td class="auto-style20">&nbsp;</td>
                    <td class="auto-style68" colspan="5">
                        &nbsp;</td>
                    <td class="auto-style23">
                        &nbsp;</td>
                    <td class="auto-style24">
                        &nbsp;</td>
                    <td class="auto-style18">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style101">&nbsp;</td>
                    <td class="auto-style20">
                        &nbsp;</td>
                    <td class="auto-style68" colspan="5">&nbsp;</td>
                    <td class="auto-style23">&nbsp;</td>
                    <td class="auto-style24">&nbsp;</td>
                    <td class="auto-style18">&nbsp;</td>
                </tr>
                </table>

</asp:Content>
